package factory;

import javax.swing.BorderFactory;
import javax.swing.JTextField;

public class MyJFactory {

	public static JTextField createTextField(String text) {
		
		JTextField field = new JTextField(text);
		
		field.setEditable(false);
		field.setBorder(BorderFactory.createEmptyBorder());
		
		return field;
	}
	
	
	
}
